<%@ page contentType="text/html; charset=utf-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="thx" uri="/thx-tags"%>
<table class="table table-bordered table-hover">
	<tbody>
		<tr>
			<th>资源名称</th>
			<td>${entity.name }</td>
			<th>资源编码</th>
			<td>${entity.code }</td>
		</tr>
		<tr>
			<th>url</th>
			<td>${entity.url }</td>
			<th>序号</th>
			<td>${entity.orderSeq }</td>
		</tr>
		<tr>
			<th>是否菜单</th>
			<td >
				<c:if test="${entity.menuAble==0 }">
					否
				</c:if>
				<c:if test="${entity.menuAble==1 }">
					是
				</c:if>
			</td>
			<th>能否访问</th>
			<td>
				<c:if test="${entity.accessible==1 }">
					能
				</c:if>
				<c:if test="${entity.accessible==0 }">
					否
				</c:if>
			</td>
		</tr>
		<tr>
			<c:if test="${entity.accessible==1 }">
				<th>打开的位置</th>
				<td >
					<c:if test="${entity.target=='_blank' }">
					新窗口
					</c:if>
					<c:if test="${entity.target=='_parent' }">
					父框架
					</c:if>
					<c:if test="${entity.target=='_top' }">
					整个窗口
					</c:if>
				</td>
				<th>描述</th>
				<td>
					${entity.description }
				</td>
			</c:if>
			<c:if test="${entity.accessible==0 }">
				<th>描述</th>
				<td colspan="3">
					${entity.description }
				</td>
			</c:if>
		</tr>
		<tr>
			<th>父菜单</th>
			<td colspan="3">
				<thx:property value="${entity.parentId }" type="resource"></thx:property>
			</td>
		</tr>
		<tr>
			<th>大图标</th>
			<td colspan="3">
				
			</td>
		</tr>
		<tr>
			<th>小图标</th>
			<td colspan="3">
				
			</td>
		</tr>	
	</tbody>
</table>